/**
 * 分账规则 api 封装
 *
 * @Author:    zhoujk
 * @Date:      2025-01-26 06:40:44
 */
import { postRequest } from '/@/lib/axios'

export const allocRuleApi = {
  /**
   * 分页查询分账规则
   */
  page: (param) => {
    return postRequest('/b-merchant/alloc_rule/page', param)
  },
  /**
   * 修改分账规则
   */
  update: (param) => {
    return postRequest('/b-merchant/alloc_rule/update', param)
  },
  /**
   * 新增分账规则
   */
  insert: (param) => {
    return postRequest('/b-merchant/alloc_rule/insert', param)
  },
  /**
   * 删除分账规则
   */
  delete: (param) => {
    return postRequest('/b-merchant/alloc_rule/delete', param)
  },
}
